.class public Lcom/instagram/android/h/a;
.super Lcom/instagram/e/b/a;
.source "FeedbackAlertDialogFragment.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 17
    invoke-direct {p0}, Lcom/instagram/e/b/a;-><init>()V

    return-void
.end method


# virtual methods
.method public c(Landroid/os/Bundle;)Landroid/app/Dialog;
    .locals 5
    .parameter

    .prologue
    .line 21
    invoke-virtual {p0}, Lcom/instagram/android/h/a;->i()Landroid/os/Bundle;

    move-result-object v1

    .line 22
    const-string v0, "feedback_message"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 23
    const/4 v0, 0x0

    .line 24
    const-string v3, "feedback_title"

    invoke-virtual {v1, v3}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 25
    const-string v0, "feedback_title"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 28
    :cond_0
    new-instance v3, Lcom/instagram/ui/a/a;

    invoke-virtual {p0}, Lcom/instagram/android/h/a;->j()Landroid/support/v4/app/j;

    move-result-object v4

    invoke-direct {v3, v4}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    invoke-virtual {v3, v2}, Lcom/instagram/ui/a/a;->a(Ljava/lang/CharSequence;)Lcom/instagram/ui/a/a;

    move-result-object v2

    .line 29
    if-eqz v0, :cond_1

    .line 30
    invoke-virtual {v2, v0}, Lcom/instagram/ui/a/a;->a(Ljava/lang/String;)Lcom/instagram/ui/a/a;

    .line 33
    :cond_1
    const-string v0, "feedback_url"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 34
    const-string v3, "feedback_appeal_label"

    invoke-virtual {v1, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 35
    invoke-static {v0}, Lcom/facebook/g/u;->a(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_2

    invoke-static {v3}, Lcom/facebook/g/u;->a(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_2

    .line 36
    new-instance v4, Lcom/instagram/android/h/b;

    invoke-direct {v4, p0, v0, v3}, Lcom/instagram/android/h/b;-><init>(Lcom/instagram/android/h/a;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v2, v3, v4}, Lcom/instagram/ui/a/a;->a(Ljava/lang/String;Landroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    .line 45
    :cond_2
    const-string v0, "feedback_ignore_label"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 46
    invoke-static {v0}, Lcom/facebook/g/u;->a(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 47
    sget v0, Lcom/facebook/ba;->dismiss:I

    invoke-virtual {p0, v0}, Lcom/instagram/android/h/a;->b(I)Ljava/lang/String;

    move-result-object v0

    .line 51
    :cond_3
    new-instance v1, Lcom/instagram/android/h/c;

    invoke-direct {v1, p0}, Lcom/instagram/android/h/c;-><init>(Lcom/instagram/android/h/a;)V

    invoke-virtual {v2, v0, v1}, Lcom/instagram/ui/a/a;->b(Ljava/lang/String;Landroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    return-object v0
.end method
